<!doctype html>
<html>
<head><uu:articleview listname="show" id="$_GET['id']"/> 
<meta charset="utf-8">
<title>{:SEO('article-view','title',array('ARTICLE_TITLE'=>$show['title']))}</title>
<meta name="keywords" content="{:SEO('article-view','keywords',array('ARTICLE_TITLE'=>$show['title']))}">
<meta name="description" content="{:SEO('article-view','description',array('ARTICLE_CONTEND'=>$show['content']))}">
<link href="__ROOT__/{:C('UU_TPL_DIR')}/public/css/article.css" rel="stylesheet" type="text/css">
<include file="public:header" />

<div class="articleshow">

  <div class="arl">
   
	<div class="tit">
	<h1> {$show.title}</h1>
	</div>	
 
	
    <div class="tag">
	<volist name="show.tags" id="vo">
		<a href="{$vo.tagurl}" class="tagli">{$vo.tag}</a>
	</volist>
 	<div class="clear"></div>
	</div>
	
	
    <div class="time">
	{$show.user.username}&nbsp;/&nbsp;{$show.addtime_str}&nbsp;/&nbsp;人气：{$show.click}&nbsp;/&nbsp;推荐：{$show.praise}
	</div>
	
 
    <div class="txt">
	{$show.content}
	</div>
	
 
    <div class="recommend">
      		<div class="ctxt J_praise" aid="{$show.id}" answeruid="{$show.uid}">{$show.praise}</div>
    </div>
	
	
  </div>		
 
  <div class="arr">
	 
		<div class="yuser">
		  <div class="pic"><img src="{$show.user.avatar}" border="0"></div>
		  
		  <div class="yur">
		    <div class="usertxt substring link_orange"><span class="userLV">LV{$show.user.exp_lv}</span><a href="{$show.user.user_url}">{$show.user.username}</a></div>
			
			
		    <div class="counttxt substring">{$show.user.count_article} 篇文章，{$show.user.count_praise} 赞同</div>
		  </div>
		  <div class="clear"></div>
		</div>
	 
	 
	 <div class="rec">
          <div class="tit">精华文章</div>

                      <div class="clear"></div>
							<uu:article listname="new"  page="0" num="5" sort="exc" />
							<volist name="new.list" id="li">
										<div class="reli link_gray6">
												 <a href="{$li.url}">{$li.title}</a>
										<div class="pra">{$li.praise}赞</div>	
										</div>
							</volist>

		</div>
		
		<div class="tagbox">
          <div class="tit">热议话题</div>
          <div class="more link_gray6"><a href="{:RU('tag/lists')}">更多></a></div>
                      <div class="clear"></div>
          			  <uu:tag listname="tags"  page="0" sort="hot" num="40"/>
					 <volist name="tags.list" id="tli">
          			 <a class="tag" href="{$tli.url}">{$tli.tag}<span>({$tli.count_question})</span></a>
					 </volist>
                      <div class="clear"></div>
        </div>
	 
		
    	 
  </div>
  <div class="clear"></div>
  
</div>
 
<include file="public:footer" />
<script type="text/javascript">
$(document).ready(function()
{


//点赞
$(".J_praise").click( function () {
	var praURL="{:RU('article/ajax_inc_praise')}";
	praise=$(this);
	aid=praise.attr('aid');
	answeruid=praise.attr('answeruid');
	$.getJSON(praURL, {aid:aid,answeruid:answeruid}, function(json){	
					if (json.status==0){
						disapperTooltip("remind", json.content);
					}else if (json.status==1){
						praise.html(json.content);
						disapperTooltip("success",'感谢你点赞！');
					}else{
						disapperTooltip("remind","未知错误");
					}
	});

});

});
</script>
</body>
</html>
